// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.

package org.jetbrains.kotlin.idea.fir.completion;

import com.intellij.testFramework.TestDataPath;
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode;
import org.jetbrains.kotlin.idea.base.test.TestRoot;
import org.jetbrains.kotlin.idea.test.JUnit3RunnerWithInners;
import org.jetbrains.kotlin.idea.test.KotlinTestUtils;
import org.jetbrains.kotlin.test.TestMetadata;
import org.junit.runner.RunWith;

/**
 * This class is generated by {@link org.jetbrains.kotlin.testGenerator.generator.TestGenerator}.
 * DO NOT MODIFY MANUALLY.
 */
@SuppressWarnings("all")
@TestRoot("fir/tests")
@TestDataPath("$CONTENT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@TestMetadata("testData/extensions/completion")
public class K2JvmBasicCompletionTestWithResolveExtensionGenerated extends AbstractK2JvmBasicCompletionTestWithResolveExtension {
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public final KotlinPluginMode getPluginMode() {
        return KotlinPluginMode.K2;
    }

    private void runTest(String testDataFilePath) throws Exception {
        KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
    }

    @TestMetadata("importStatementPackage.kt")
    public void testImportStatementPackage() throws Exception {
        runTest("testData/extensions/completion/importStatementPackage.kt");
    }

    @TestMetadata("member.kt")
    public void testMember() throws Exception {
        runTest("testData/extensions/completion/member.kt");
    }

    @TestMetadata("nonImported.kt")
    public void testNonImported() throws Exception {
        runTest("testData/extensions/completion/nonImported.kt");
    }

    @TestMetadata("packageReference.kt")
    public void testPackageReference() throws Exception {
        runTest("testData/extensions/completion/packageReference.kt");
    }

    @TestMetadata("packageReferenceDeclarations.kt")
    public void testPackageReferenceDeclarations() throws Exception {
        runTest("testData/extensions/completion/packageReferenceDeclarations.kt");
    }

    @TestMetadata("packageReferenceSubPackage.kt")
    public void testPackageReferenceSubPackage() throws Exception {
        runTest("testData/extensions/completion/packageReferenceSubPackage.kt");
    }

    @TestMetadata("packageStatement.kt")
    public void testPackageStatement() throws Exception {
        runTest("testData/extensions/completion/packageStatement.kt");
    }

    @TestMetadata("packageStatementSubPackage.kt")
    public void testPackageStatementSubPackage() throws Exception {
        runTest("testData/extensions/completion/packageStatementSubPackage.kt");
    }

    @TestMetadata("simpleImported.kt")
    public void testSimpleImported() throws Exception {
        runTest("testData/extensions/completion/simpleImported.kt");
    }

    @TestMetadata("starImportedClass.kt")
    public void testStarImportedClass() throws Exception {
        runTest("testData/extensions/completion/starImportedClass.kt");
    }

    @TestMetadata("starImportedFunction.kt")
    public void testStarImportedFunction() throws Exception {
        runTest("testData/extensions/completion/starImportedFunction.kt");
    }
}
